From 6ed58cfd506cb9995af8625822388290bf3b114a Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 1 Nov 2016 14:11:25 -0400 Subject: [PATCH] Fix the build testgtk.c had some dead code referring to GdkColor. Drop it. --- tests/testgtk.c | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/tests/testgtk.c b/tests/testgtk.c index 3d092d649c..ee81ea587b 100644 --- a/tests/testgtk.c +++ b/tests/testgtk.c @@ -5329,22 +5329,6 @@ create_range_controls (GtkWidget *widget) gtk_widget_destroy (window); } -struct { - GdkColor color; - gchar *name; -} text_colors[] = { - { { 0, 0x0000, 0x0000, 0x0000 }, "black" }, - { { 0, 0xFFFF, 0xFFFF, 0xFFFF }, "white" }, - { { 0, 0xFFFF, 0x0000, 0x0000 }, "red" }, - { { 0, 0x0000, 0xFFFF, 0x0000 }, "green" }, - { { 0, 0x0000, 0x0000, 0xFFFF }, "blue" }, - { { 0, 0x0000, 0xFFFF, 0xFFFF }, "cyan" }, - { { 0, 0xFFFF, 0x0000, 0xFFFF }, "magenta" }, - { { 0, 0xFFFF, 0xFFFF, 0x0000 }, "yellow" } -}; - -int ntext_colors = sizeof(text_colors) / sizeof(text_colors[0]); - /* * GtkNotebook */ -- 2.30.2